package com.aerotechnic.dao.interfaces;

import java.util.List;

import com.aerotechnic.entities.Visite;

public interface VisiteDaoIn {
	
void save(Visite myEntity);//before inserting make sure that the id is not duplicated if it's not save the object and return true otherwise restrict saving and return false
    
    void update(Visite myEntity);
    
    void delete(Long id);

    Visite findByID(Long id);
    
    List<Visite> findAll();
    
    Visite getlastVisite();

}
